package cn.tutu.blockchain.machinebackups.service;

import java.util.List;

import cn.tutu.blockchain.machinebackups.entity.MachineBackups;

public interface MachineBackupsService {

	void create(MachineBackups machineBackups);

	/**
	 * 根据ID获取需要备份的文件hash 一次最多100个文件hash
	 * 
	 * @param machineId
	 * @return
	 */
	List<String> getFileHashByMacId(String machineId);

	/**
	 * 根据矿机ID获取文件根目录hash值
	 * @param machineId
	 * @return
	 */
	String getRootHashByMacId(String machineId);

}
